eval(include("D:\\Documents\\code\\wsh\\lib.js"));
function include(path)
{
	var ForReading = 1;
	var fso = new ActiveXObject("Scripting.FileSystemObject");
	var file = fso.OpenTextFile(path, ForReading);
	var code = file.ReadAll();

	file.Close();
	return code;
}

function WM_OnQuit()
{
	quit();
}

var fso = WScript.CreateObject("Scripting.FileSystemObject");
var CurrentDir = fso.GetAbsolutePathName(".");
var document = getdocument(gethandle(true, true), "http://product.dangdang.com/product.aspx?product_id=20178692");
var script=document.createElement("script");
script.src= CurrentDir + "\\hook.js";
document.appendChild(script);
gethandle(true, true);
